home *** CD-ROM | disk | FTP | other *** search
- Path: news.iag.net!news
- From: jatmon@iag.net (John R Buchan)
- Newsgroups: comp.lang.c
- Subject: Re: sscanf problems
- Date: 25 Jan 1996 13:01:20 GMT
- Organization: Internet Access Group, Orlando, Florida
- Message-ID: <4e7uv0$8k2@news.iag.net>
- References: <4e4c2v$j2g@mathserv.mps.ohio-state.edu> <4e5i39$2e6@news.iag.net>
- NNTP-Posting-Host: pm1-orl11.iag.net
- X-Newsreader: WinVN 0.99.7
-
- In article <4e5i39$2e6@news.iag.net>, jatmon@iag.net says...
- >
- >In article <4e4c2v$j2g@mathserv.mps.ohio-state.edu>,
- >cmongold@magnus.acs.ohio-state.edu says...
- >>
- <snop>
- >>fp = fopen(input, "r");
- >
- >I assume you've left out the tests for the sake of brevity?
- >
- >if( fp != NULL)
- > {
- > /* handle the failed open */
- > }
- >
- <snip>
-
- !!!?? <:-0
-
- Make that:
-
- if( fp == NULL)
- {
- /* handle the failed open */
- }
-
-
- Sorry.
-
- --
- John R Buchan -:|:- Looking for that elusive FAQ? ftp to:
- jatmon@mail.iag.net -:|:- rtfm.mit.edu /pub/usenet-by-group/....
-
-